﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace BCGM.MedicalWisdom.Model.Models.Order
{
    /// <summary>
    /// 医生表
    /// </summary>
    [SugarTable("Doctor", "WMBLOG_MYSQL_2")]
    public class Doctor
    {

        public Doctor()
        {
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string DoctorName { get; set; }
        /// <summary>
        /// Des:
        /// Default:
        /// Nullable:False
        /// </summary>
        public int Physician { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Hospital { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string IdentityCard { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string QualificationCard { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Photo { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string OccupationCard { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime ConsultationTime { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public decimal InquiryMoney { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public int AgeLimit { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public int IsDel { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Idcard { get; set; }
        /// <summary>
        /// DescIdentityCard
        /// Default:
        /// Nullable:True
        /// </summary>
        public int Status { get; set; } = 0;
        /// <summary>
        /// Desc:不通过原因
        /// Default:
        /// Nullable:True
        /// </summary>
        public string Cause { get; set; }
        /// <summary>
        /// Desc:是否删除
        /// Default:
        /// Nullable:True
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
